/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package interfaz;

import dominio.Asignatura;
import dominio.Especialidad;
import dominio.Horario;
import dominio.Seccion;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.sql.SQLException;
import java.sql.Time;
import java.util.LinkedList;
import java.util.logging.Level;
import java.util.logging.Logger;
import negocio.AsignaturaNegocio;
import negocio.EspecialidadNegocio;
import negocio.HorarioNegocio;
import negocio.SeccionNegocios;

/**
 *
 * @author Mauro
 */
public class JIF_CreacionHorarios extends javax.swing.JInternalFrame{
    SeccionNegocios sn;
    AsignaturaNegocio an;
    int idhorario;
    HorarioNegocio hn;
    EspecialidadNegocio en;
    LinkedList<Asignatura>asignaturasEspecialidad;

    /**
     * Creates new form JIF_CreacionHorarios
     */
    public JIF_CreacionHorarios() throws SQLException{
        initComponents();
        sn = new SeccionNegocios();
        an = new AsignaturaNegocio();
        hn=new HorarioNegocio();
        CB_tipoAsigntura.addItem("Academica");
        CB_tipoAsigntura.addItem("Tecnica");
        seccionDIsponible();
        eventoComboTipoAsignatura();
        eventoComboespecialidad();
        en=new EspecialidadNegocio();
        idhorario=hn.ObtenerIdHorario()+1;
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        JP_formularioHorario = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        CB_seccion = new javax.swing.JComboBox();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        CB_tipoAsigntura = new javax.swing.JComboBox();
        JL_especialidad = new javax.swing.JLabel();
        CB_especilidad = new javax.swing.JComboBox();
        jLabel6 = new javax.swing.JLabel();
        CB_asignatura = new javax.swing.JComboBox();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        JTF_dia = new javax.swing.JTextField();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        JTF_inicioHora = new javax.swing.JTextField();
        jLabel11 = new javax.swing.JLabel();
        jButton1 = new javax.swing.JButton();
        JTF_inicioMin = new javax.swing.JTextField();
        JTF_InicioSeg = new javax.swing.JTextField();
        jLabel15 = new javax.swing.JLabel();
        jLabel16 = new javax.swing.JLabel();
        jLabel17 = new javax.swing.JLabel();
        jLabel18 = new javax.swing.JLabel();
        JTF_finalMin = new javax.swing.JTextField();
        jLabel19 = new javax.swing.JLabel();
        jLabel20 = new javax.swing.JLabel();
        JTF_finalSeg = new javax.swing.JTextField();
        JTF_finalHora = new javax.swing.JTextField();

        setClosable(true);
        setTitle("Crear horario");
        setToolTipText("");

        JP_formularioHorario.setBackground(new java.awt.Color(255, 255, 255));
        JP_formularioHorario.setToolTipText("");
        JP_formularioHorario.setName(""); // NOI18N

        jLabel1.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        jLabel1.setText("Seccion");

        jLabel2.setText("seleccione una seccion");

        jLabel3.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        jLabel3.setText("Asignatura");

        jLabel4.setText("seleccione tipo asignatura");

        CB_tipoAsigntura.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                CB_tipoAsignturaActionPerformed(evt);
            }
        });

        JL_especialidad.setText("seleccione una especialidad");

        jLabel6.setText("seleccione la asignatura");

        jLabel7.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        jLabel7.setText("Horario");

        jLabel8.setText("seleccione el dia");

        jLabel9.setText("(dd/mm/aa)");

        jLabel10.setText("hora de inicio");

        jLabel11.setText("Hora de Salida");

        jButton1.setText("Crear registro");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        jLabel15.setText("HH");

        jLabel16.setText("mm");

        jLabel17.setText("ss");

        jLabel18.setText("HH");

        jLabel19.setText("mm");

        jLabel20.setText("ss");

        javax.swing.GroupLayout JP_formularioHorarioLayout = new javax.swing.GroupLayout(JP_formularioHorario);
        JP_formularioHorario.setLayout(JP_formularioHorarioLayout);
        JP_formularioHorarioLayout.setHorizontalGroup(
            JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(JP_formularioHorarioLayout.createSequentialGroup()
                .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(JP_formularioHorarioLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel2)
                        .addGap(15, 15, 15)
                        .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(JP_formularioHorarioLayout.createSequentialGroup()
                                .addGap(10, 10, 10)
                                .addComponent(CB_seccion, javax.swing.GroupLayout.PREFERRED_SIZE, 67, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(jLabel1)
                            .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.TRAILING)))
                    .addGroup(JP_formularioHorarioLayout.createSequentialGroup()
                        .addGap(132, 132, 132)
                        .addComponent(jLabel7))
                    .addGroup(JP_formularioHorarioLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(JP_formularioHorarioLayout.createSequentialGroup()
                                .addComponent(jLabel4)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(CB_tipoAsigntura, javax.swing.GroupLayout.PREFERRED_SIZE, 169, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(JL_especialidad)
                            .addComponent(jLabel6)
                            .addGroup(JP_formularioHorarioLayout.createSequentialGroup()
                                .addGap(10, 10, 10)
                                .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(CB_asignatura, javax.swing.GroupLayout.PREFERRED_SIZE, 251, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(CB_especilidad, javax.swing.GroupLayout.PREFERRED_SIZE, 251, javax.swing.GroupLayout.PREFERRED_SIZE))))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, JP_formularioHorarioLayout.createSequentialGroup()
                .addContainerGap(20, Short.MAX_VALUE)
                .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 85, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, 71, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jLabel11, javax.swing.GroupLayout.Alignment.LEADING))
                .addGap(18, 18, 18)
                .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(JP_formularioHorarioLayout.createSequentialGroup()
                        .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel15)
                            .addComponent(JTF_inicioHora, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(18, 18, 18)
                        .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(JTF_inicioMin, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel16))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel17)
                            .addComponent(JTF_InicioSeg, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(JP_formularioHorarioLayout.createSequentialGroup()
                        .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(JTF_finalHora, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(JP_formularioHorarioLayout.createSequentialGroup()
                                .addGap(10, 10, 10)
                                .addComponent(jLabel18)))
                        .addGap(18, 18, 18)
                        .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(JTF_finalMin, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel19))
                        .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(JP_formularioHorarioLayout.createSequentialGroup()
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(JTF_finalSeg, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, JP_formularioHorarioLayout.createSequentialGroup()
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jLabel20)
                                .addGap(16, 16, 16))))
                    .addGroup(JP_formularioHorarioLayout.createSequentialGroup()
                        .addComponent(JTF_dia, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(jLabel9))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, JP_formularioHorarioLayout.createSequentialGroup()
                        .addComponent(jButton1)
                        .addGap(71, 71, 71)))
                .addGap(43, 43, 43))
        );
        JP_formularioHorarioLayout.setVerticalGroup(
            JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(JP_formularioHorarioLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel1)
                .addGap(14, 14, 14)
                .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel2)
                    .addComponent(CB_seccion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(30, 30, 30)
                .addComponent(jLabel3)
                .addGap(15, 15, 15)
                .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel4)
                    .addComponent(CB_tipoAsigntura, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(JL_especialidad)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(CB_especilidad, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel6)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(CB_asignatura, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(35, 35, 35)
                .addComponent(jLabel7)
                .addGap(24, 24, 24)
                .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel8)
                    .addComponent(JTF_dia, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel9))
                .addGap(24, 24, 24)
                .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel10)
                    .addComponent(JTF_inicioHora, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(JTF_inicioMin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(JTF_InicioSeg, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel15)
                    .addComponent(jLabel16)
                    .addComponent(jLabel17))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 12, Short.MAX_VALUE)
                .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(JTF_finalHora, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(JTF_finalMin, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(JTF_finalSeg, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel11))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(JP_formularioHorarioLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel18)
                    .addComponent(jLabel19)
                    .addComponent(jLabel20))
                .addGap(9, 9, 9)
                .addComponent(jButton1))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(8, 8, 8)
                .addComponent(JP_formularioHorario, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(26, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(JP_formularioHorario, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void CB_tipoAsignturaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_CB_tipoAsignturaActionPerformed
        
    }//GEN-LAST:event_CB_tipoAsignturaActionPerformed

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed

            try {
                insertarHorario();
            } catch (SQLException ex) {
                Logger.getLogger(JIF_CreacionHorarios.class.getName()).log(Level.SEVERE, null, ex);
            }
        
    
    }//GEN-LAST:event_jButton1ActionPerformed
    
    
    public void seccionDIsponible() throws SQLException{
        LinkedList<Seccion>secciones=new LinkedList<>();
        secciones=sn.getSecciones();
        for (Seccion seccionActual : secciones) {
            CB_seccion.addItem(seccionActual.getIdentificadorSeccion());
        }
       
    }
    
    public void eventoComboTipoAsignatura() {

        CB_tipoAsigntura.addItemListener(new ItemListener() {

            @Override
            public void itemStateChanged(ItemEvent ev) {

                if (ev.getItem().equals("Academica")) {
                    try {
                        CB_asignatura.removeAllItems();
                        asignaturasAcademicas();
                    } catch (SQLException ex) {
                        Logger.getLogger(JIF_CreacionHorarios.class.getName()).log(Level.SEVERE, null, ex);
                    }
                } else {
                    try {
                        CB_especilidad.removeAllItems();
                        CB_asignatura.removeAllItems();
                        especialidades();
                        

                    } catch (SQLException ex) {
                        Logger.getLogger(JIF_CreacionHorarios.class.getName()).log(Level.SEVERE, null, ex);
                    }
                    
                }
            }
        });

    }
    
    public void eventoComboespecialidad() {

        CB_especilidad.addItemListener(new ItemListener() {

            @Override
            public void itemStateChanged(ItemEvent ev) {
                try {
                    asignaturasEspecialidad = new LinkedList<>();
                    CB_asignatura.removeAllItems();
                    asignaturasEspecialidad = an.asignaturasPorEspecialidad(ev.getItem().toString());
                    for (Asignatura a : asignaturasEspecialidad) {
                        CB_asignatura.addItem(a.getNombre());
                    }
                } catch (SQLException ex) {
                    Logger.getLogger(JIF_CreacionHorarios.class.getName()).log(Level.SEVERE, null, ex);
                }

            }
        });

    }
 
    public LinkedList<Asignatura> asignaturasAcademicas() throws SQLException{
        CB_asignatura.removeAllItems();
        LinkedList<Asignatura>asignaturas=an.asignaturasPorTipo();
        for (Asignatura asignaturaActual : asignaturas) {
            CB_asignatura.addItem(asignaturaActual.getNombre());
        }
        JL_especialidad.setVisible(false);
        CB_especilidad.setVisible(false);
        return asignaturas;
    }
    
    public void especialidades() throws SQLException {
        for (Especialidad e : en.getEspecialidades()) {
            CB_especilidad.addItem(e.getNombreEspecialidad());
        }
        JL_especialidad.setVisible(true);
        CB_especilidad.setVisible(true);

    }
    
    public void insertarHorario() throws SQLException{
        Horario horarioAInsertar=new Horario();
        Asignatura asignaturaAInsertar=new Asignatura();
        String idSeccion=CB_seccion.getSelectedItem().toString();
        asignaturaAInsertar=an.getAsignaturaPorNombreTecnico(CB_asignatura.getSelectedItem().toString());
        horarioAInsertar.getAsignaturas().add(asignaturaAInsertar);
        horarioAInsertar.setIdHorario(idhorario);
        horarioAInsertar.setDia(JTF_dia.getText());
        horarioAInsertar.setHoraInicio(new Time(Integer.parseInt(JTF_inicioHora.getText()), 
                Integer.parseInt(JTF_inicioMin.getText()), Integer.parseInt(JTF_InicioSeg.getText())));
        horarioAInsertar.setHoraFin(new Time(Integer.parseInt(JTF_finalHora.getText()), 
                Integer.parseInt(JTF_finalMin.getText()), Integer.parseInt(JTF_finalSeg.getText())));
        hn.ingresarHorario(horarioAInsertar);
    }
    
     public void insertarHorarioTecnico() throws SQLException{
        Horario horarioAInsertar=new Horario();
        Asignatura asignaturaAInsertar=new Asignatura();
        String idSeccion=CB_seccion.getSelectedItem().toString();
        asignaturaAInsertar=an.getAsignaturaPorNombre(CB_asignatura.getSelectedItem().toString());
        horarioAInsertar.getAsignaturas().add(asignaturaAInsertar);
        horarioAInsertar.setIdHorario(idhorario);
        horarioAInsertar.setDia(JTF_dia.getText());
        horarioAInsertar.setHoraInicio(new Time(Integer.parseInt(JTF_inicioHora.getText()), 
                Integer.parseInt(JTF_inicioMin.getText()), Integer.parseInt(JTF_InicioSeg.getText())));
        horarioAInsertar.setHoraFin(new Time(Integer.parseInt(JTF_finalHora.getText()), 
                Integer.parseInt(JTF_finalMin.getText()), Integer.parseInt(JTF_finalSeg.getText())));
        hn.ingresarHorario(horarioAInsertar);
    }
    
    

    
    
    
   
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JComboBox CB_asignatura;
    private javax.swing.JComboBox CB_especilidad;
    private javax.swing.JComboBox CB_seccion;
    private javax.swing.JComboBox CB_tipoAsigntura;
    private javax.swing.JLabel JL_especialidad;
    private javax.swing.JPanel JP_formularioHorario;
    private javax.swing.JTextField JTF_InicioSeg;
    private javax.swing.JTextField JTF_dia;
    private javax.swing.JTextField JTF_finalHora;
    private javax.swing.JTextField JTF_finalMin;
    private javax.swing.JTextField JTF_finalSeg;
    private javax.swing.JTextField JTF_inicioHora;
    private javax.swing.JTextField JTF_inicioMin;
    private javax.swing.JButton jButton1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    // End of variables declaration//GEN-END:variables
}
